/*
 * BanBu_ManuscriptViewController
 * @description 本文件提供对话中的收藏界面的ViewController
 * @package
 * @author 		***
 * @copyright
 * @version 		1.0
 * @description 本文件提供对话中的收藏界面的ViewController
 */


#import <UIKit/UIKit.h>
#import "AppDataManager.h"
#import "BanBu_AppDelegate.h"
#import "AKSegmentedControl.h"
#import "UIBadgeView.h"
#import "BanBu_ManuscriptAPI.h"
//语音评论的控件
#import "RecordView.h"
@class BanBu_ChatViewController;
@class BanBu_NavButton;
@class SVSegmentedControl;

#pragma mark -
#pragma mark 草稿箱、收藏界面

@interface BanBu_ManuscriptViewController : UIViewController <AppDataManagerDelegate,UIAlertViewDelegate,UITableViewDataSource,UITableViewDelegate,AKSegmentedControlDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate,UIActionSheetDelegate,RecordViewDelegate>
{
    BanBu_NavButton * deleteButton;
    AKSegmentedControl *segmentController;
    NSInteger selectIndex;
    BOOL _isLoading;
    UIActivityIndicatorView *loadingView;
    IBOutlet UIButton * _deleteCollectBu;
    RecordView * _recordView;
    
    //录音使用
    UIImageView * _voiceView;
    
}

@property (assign, nonatomic) NSInteger selectedRow;//选中行

@property (retain, nonatomic) UITableView * tableView;

@property (retain, nonatomic) NSMutableArray * manuscriptArray;//草稿数组；
@property (retain, nonatomic) NSMutableArray * selectedArray;//选中的数组;
@property (retain, nonatomic) NSMutableDictionary * deletDic;//要删除的数据
@property (assign, nonatomic) BanBu_ChatViewController * appChatController;

@property (retain, nonatomic) NSIndexPath * selectIndexPath;
#pragma maark - 删除收藏
@property (retain, nonatomic) IBOutlet UIView *deleteView;

- (IBAction)deleteAmsg:(UIButton *)sender;
@property (retain, nonatomic) IBOutlet UIButton *addBtn;

- (IBAction)addAmsgBtn:(UIButton *)sender;
#pragma mark - 添加收藏
@property (retain, nonatomic) IBOutlet UIView *addContentView;

//添加文本
-(IBAction)addActionText:(UIButton *)sender;
//添加图片
-(IBAction)addActionImage:(UIButton *)sender;

//添加语音
-(IBAction)addActionVoice:(UIButton *)sender;

@end
